package com.lx.patterns.adapter.object_adapter;



/**
 * @ClassName Client
 * @Description:
 * @Author: 落雪
 * @CreateDate: 2025/1/17 22:11
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/17 22:11
 * @UpdateRemark:
 * @Version: 1.0
 */
public class Client {

    public static void main(String[] args) {
        Computer computer = new Computer();

        TFCard tfCard = new TFCardImpl();

        SDCard sdAdapterTF = new SDAdapterTF(tfCard);

        System.out.println(computer.readSD(sdAdapterTF));



    }
}
